package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterGiftNumDao;
import com.vf.admin.miaodong.entity.AppGiftNum;
import com.vf.admin.miaodong.service.AfterGiftNumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 礼物数量
 * @author anxiang
 * @version 1.0.0
 * @ClassName AfterGiftNumServiceImpl.java
 * @Description TODO
 * @createTime 2021年07月23日 11:13:00
 */
@Service
public class AfterGiftNumServiceImpl implements AfterGiftNumService{

    @Autowired
    AfterGiftNumDao afterGiftNumDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppGiftNum> findList(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterGiftNumDao.findList(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppGiftNum get(Integer id) {
        return afterGiftNumDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppGiftNum haoYou) {
        afterGiftNumDao.save(haoYou);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterGiftNumDao.del(id);
    }
}
